#ifndef __FILTER_H_
#define __FILTER_H_

#include "includefile.h"


#define ACC_FILTER_N 20
#define MAG_FILTER_N 20

extern void acc_average_filter(S_INT16_XYZ ac,S_FLOAT_XYZ * _ac_filter);
extern void gyo_filter(S_INT16_XYZ gyo,S_FLOAT_XYZ * _gyo_filter);

#ifdef  USING_MAG
extern void mag_average_filter(S_INT16_XYZ ac,S_FLOAT_XYZ * _ac_filter);
#endif

#endif